Skip to main content

Column

Description

As the name already implies, this property treats any column related properties and can be found in Detail Panel. It basically controls yTable columns and their individual properties, to make each column customizable.

FeatureValue
Theme injectable-
Possible InputsA-Z, a-z, 0-9, Special characters

Column Ingredients

field

StringProperty

This represents the actual designation of the column.

type

StringProperty

As the name implies, this is the type of the column and indicates which values are stored. @Note link to entity properties?

nullable

BooleanProperty

This controls, whether the column values can be null.

info

This also depends on the type of the column. Only specific types can be nullable.

displayEditDialog

StringProperty

This property controls, how the value gets displayed inside the dialog. It can be set to:

checkbox number text date toggle textarea

info

E.g. you could display a boolean as a checkbox or an text.

displayTable

StringProperty

It controls how the values get visualized. It can be set to:

checkbox number text image link phone mail date time

info

E.g. you could display an image url as the url itself or as an image.

sort

StringProperty

As the name implies, this controls how the records inside a column get sorted.

filter

BooleanProperty

This controls if the column can be filtered individually by the user.

label

StringProperty

This represents the actual label of the column which is printed inside the column header.

name

StringProperty

This property represents the name of the certain column under which it can be found.

visible

BooleanProperty

This controls, whether the column is displayed or not.

sticky

BooleanProperty

Makes the column sticky, so that when scrolling the column doesn't disappear and stays on top.

orderId

NumberProperty

Controls the order of the columns in numeric order.

bodyCell minWidth

UnitNumberProperty

The minimum value for the width of the column. This can be set in:

px pt em vw vh %

bodyCell maxWidth

UnitNumberProperty

The maximum value for the width of the component. This can be set in:

px pt em vw vh % none

bodyCell fontAlignHorizontal

ListProperty

The font align of the text on the x-axis. This can be set in:

left center right

bodyCell fontAlignVertical

ListProperty

The font align of the text on the y-axis. This can be set in:

top middle bottom

bodyCell fontSize

UnitNumberProperty

The font size of the text. This can be set in:

cm mm in px em ex ch rem

bodyCell fontWeight

NumberProperty

With the font weight of the text inside a column cell, you can choose how bold your font should be. Normally font weight is set in steps of 100. 100 is very thin, 900 very thick. The normal font weight is 400.

bodyCell fontColor

ColorProperty

The color of the text inside a cell of the column. This can be set as a color from a palette or a custom hex color.

bodyCell bgColor

ColorProperty

This property controls the background color of the cells inside the column.

columnHeader fontAlignHorizontal

ListProperty

The font align of the text on the x-axis. This can be set in:

left center right

columnHeader fontAlignVertical

ListProperty

The font align of the text on the y-axis. This can be set in:

top middle bottom

columnHeader fontSize

UnitNumberProperty

The font size of the text. This can be set in:

cm mm in px em ex ch rem

columnHeader fontWeight

NumberProperty

With the font weight of the text inside the column header, you can choose how bold your font should be. Normally font weight is set in steps of 100. 100 is very thin, 900 very thick. The normal font weight is 400.

columnHeader fontColor

ColorProperty

The color of the text inside the column header. This can be set as a color from a palette or a custom hex color.

columnHeader bgColor

ColorProperty

This property controls the background color of the column itself and only colorizes the column header.

Occurences

Detail Panel

Inside the Detail Panel the properties of single columns can be adjusted to individualize them.

@Note insert image here

The properties are grouped and filtered by the current state, which means you can also modify properties which are related to states e.g. hovering over a column.

  • Generic
    Includes general information e.g. label or sticky and the sizing of the selected column.
  • Column Header
    This allows the manipulation of the column header styling wise.
  • Column
    Includes styling properties for the column content, which allows seperate styling from the header.